package com.ruoyi.whzj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动对象 wh_activity
 * 
 * @author ruoyi
 * @date 2020-10-22
 */
public class WhActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动id */
    private String id;

    /** 当前期数 */
    @Excel(name = "当前期数")
    private Integer num;

    /** 内含有多少积分 默认5000 */
    @Excel(name = "内含有多少积分 默认5000")
    private Integer allIntegral;

    /** 参与一次所需积分 默认50 */
    @Excel(name = "参与一次所需积分 默认50")
    private Integer integral;

    /** 总人数 */
    @Excel(name = "总人数")
    private Integer allPeople;

    /** 当前已参与人数 */
    @Excel(name = "当前已参与人数")
    private Integer people;

    /** 中奖人id */
    @Excel(name = "中奖人id")
    private String userId;

    /** 中奖人昵称*/
    @Excel(name = "中奖人昵称")
    private String userName;

    /**开奖状态*/
    private String status;

    private Integer activitynum;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }
    public void setAllIntegral(Integer allIntegral) 
    {
        this.allIntegral = allIntegral;
    }

    public Integer getAllIntegral() 
    {
        return allIntegral;
    }
    public void setIntegral(Integer integral) 
    {
        this.integral = integral;
    }

    public Integer getIntegral() 
    {
        return integral;
    }
    public void setAllPeople(Integer allPeople) 
    {
        this.allPeople = allPeople;
    }

    public Integer getAllPeople() 
    {
        return allPeople;
    }
    public void setPeople(Integer people) 
    {
        this.people = people;
    }

    public Integer getPeople() 
    {
        return people;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("num", getNum())
            .append("allIntegral", getAllIntegral())
            .append("integral", getIntegral())
            .append("allPeople", getAllPeople())
            .append("people", getPeople())
            .append("userId", getUserId())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getActivitynum() {
        return activitynum;
    }

    public void setActivitynum(Integer activitynum) {
        this.activitynum = activitynum;
    }
}
